
import 'bag_object.dart';

///背包
class Bag{
  List<BagObject> objectsInBag = [];

  ///放入物品
  void putIn(BagObject object){
    objectsInBag.add(object);
  }

  ///取出物品
  void takeOut(BagObject object){
    objectsInBag.remove(object);
  }
}